package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.NullResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  获取产品介绍接口
* */


public class LocationApi extends AbsRequest<LocationApi.LocationParams, NullResult> {

    public LocationApi(LocationParams locationParams, Listener<NullResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getLocation(), locationParams, listener, errorListener, NullResult.class);
    }

    public static class LocationParams extends BaseParams {

        public LocationParams(String latitude, String longitude) {

            put("LATITUDE", latitude);
            put("LONGITUDE", longitude);

        }
    }


}
